package com.ss.android.article.common.model;

import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable;

public class Group implements Parcelable {
    public static final Parcelable.Creator CREATOR;
    public long mId;
    public MediaType mMediaType;
    public String mOpenUrl;
    public String mThumbUrl;
    public String mTitle;

    static {
       CREATOR = new d();
    }

    public Group() {

    }

    protected Group(Parcel arg3) {

        this.mId = arg3.readLong();
        this.mTitle = arg3.readString();
        this.mThumbUrl = arg3.readString();
        this.mOpenUrl = arg3.readString();
        int v0 = arg3.readInt();
        MediaType v0_1 = v0 == -1 ? null : MediaType.values()[v0];
        this.mMediaType = v0_1;
    }

    public int describeContents() {
        return 0;
    }

    public void writeToParcel(Parcel arg3, int arg4) {
        arg3.writeLong(this.mId);
        arg3.writeString(this.mTitle);
        arg3.writeString(this.mThumbUrl);
        arg3.writeString(this.mOpenUrl);
        int v0 = this.mMediaType == null ? -1 : this.mMediaType.ordinal();
        arg3.writeInt(v0);
    }
}

